package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.CustomerLinkmen;
import cn.wolfcode.car.business.query.LinkmenQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;

import java.util.List;

/**
 * 服务预约接口
 */
public interface ILinkmenService {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePageInfo<CustomerLinkmen> query(LinkmenQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    CustomerLinkmen get(Long id);


    /**
     * 保存
     * @param linkmen
     */
    void save(CustomerLinkmen linkmen);



    /**
     * 查询全部
     * @return
     */
    List<CustomerLinkmen> list();

    void deleteBatch(String ids);

    void update(CustomerLinkmen customerLinkmen);

    List<CustomerLinkmen> selectByCustomerId(Long id);
}
